package com.hotel.room.mapper;

import com.hotel.user.entity.HotelRoomRate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author trc
 * @since 2024-06-22
 */
public interface HotelRoomRateMapper extends BaseMapper<HotelRoomRate> {

    HotelRoomRate selectRateListById(@Param("userId") Integer userId,@Param("roomId") Integer roomId);

    List<Double> selectRateByRoomId(Integer roomId);
}
